import { Module } from 'vuex'

import GlobalDataProps from '../types'

export interface Delivery {
  isReflash: boolean
}
const delivery: Module<Delivery, GlobalDataProps> = {
  namespaced: true,
  state: {
    isReflash: false
  },
  getters: {},
  mutations: {
    updateBaseInfo: (state, data: boolean): void => {
      state.isReflash = data
    }
  },
  actions: {}
}

export default delivery
